<%@page import="java.util.ArrayList"%>
<%@page import="com.winexpress.sr.SalesReport"%>
<%@page import="java.util.List"%>
<%@page import="com.winexpress.util.SessionAttributes"%>
<%@taglib prefix="t" tagdir="/WEB-INF/tags" %>
<!DOCTYPE html>
<html>    
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link href="/WineXpressClient/resources/css/morris.css" rel="stylesheet" type="text/css" />
        <title>wineXpress online shop</title>        
    </head>
    <body>
        <t:adminNavigation/>

        <div class="header">
            <div class="logo_img"><img alt="Site Name" src="/WineXpressClient/resources/images/logo.png"></div>
        </div>

    <center>
        <h3>Sales Report for Period: <br/><%=request.getAttribute("fromYear")%>-<%=request.getAttribute("fromMonth")%>-<%=request.getAttribute("fromDay")%> to <%=request.getAttribute("toYear")%>-<%=request.getAttribute("toMonth")%>-<%=request.getAttribute("toDay")%><br/>
        for Category with ID: <%=request.getAttribute("catid")%></h3>

        <table class="table table-bordered" style=' width:70%;   ' >
            <tr>
                <td>Total Sales</td>
                <td><%= request.getAttribute("sales")%></td>
            </tr>
            <tr>
                <td>Total Profit</td>
                <td><%= request.getAttribute("profit")%></td>
            </tr>  
            <tr>
                <td>Total Quantity</td>
                <td><%= request.getAttribute("catqty")%></td>
            </tr>  
        </table>   

    </center>
</body>
</html>
